[INFO] fetching crate nightly-async-nats 0.27.1...
[INFO] checking nightly-async-nats-0.27.1 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate nightly-async-nats 0.27.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate nightly-async-nats 0.27.1 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nightly-async-nats 0.27.1
[INFO] finished tweaking crates.io crate nightly-async-nats 0.27.1
[INFO] tweaked toml for crates.io crate nightly-async-nats 0.27.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate nightly-async-nats 0.27.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0da6286749cd4c7ac6073ef4952273055d64f380b9d855269647409df732bcd
[INFO] running `Command { std: "docker" "start" "-a" "b0da6286749cd4c7ac6073ef4952273055d64f380b9d855269647409df732bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0da6286749cd4c7ac6073ef4952273055d64f380b9d855269647409df732bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0da6286749cd4c7ac6073ef4952273055d64f380b9d855269647409df732bcd", kill_on_drop: false }`
[INFO] [stdout] b0da6286749cd4c7ac6073ef4952273055d64f380b9d855269647409df732bcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f917c72c2a0a51e3a432f8b71fa609120c6a0580c2501a63876e06c5bf62c025
[INFO] running `Command { std: "docker" "start" "-a" "f917c72c2a0a51e3a432f8b71fa609120c6a0580c2501a63876e06c5bf62c025", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling futures-core v0.3.26
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.26
[INFO] [stderr]    Compiling futures-task v0.3.26
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling tokio v1.25.0
[INFO] [stderr]     Checking const-oid v0.6.2
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling futures-util v0.3.26
[INFO] [stderr]     Checking futures-sink v0.3.26
[INFO] [stderr]     Checking der v0.4.5
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking ring v0.16.20
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking base64ct v1.1.1
[INFO] [stderr]     Checking futures-io v0.3.26
[INFO] [stderr]     Checking signature v1.6.4
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking spki v0.4.1
[INFO] [stderr]     Checking pem-rfc7468 v0.2.4
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling rayon-core v1.10.2
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking ed25519 v1.5.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking unicode-bidi v0.3.10
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking plotters-backend v0.3.4
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking time-core v0.1.0
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking plotters-svg v0.3.3
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking base64-url v1.4.13
[INFO] [stderr]     Checking rustls-native-certs v0.6.2
[INFO] [stderr]     Checking plotters v0.3.4
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking nuid v0.3.2
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking subslice v0.2.3
[INFO] [stderr]     Checking rayon v1.6.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.16
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling zeroize_derive v1.3.3
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling futures-macro v0.3.26
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling serde_repr v0.1.10
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking pkcs8 v0.7.6
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking signatory v0.23.2
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking nkeys v0.2.0
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking futures-executor v0.3.26
[INFO] [stderr]     Checking futures v0.3.26
[INFO] [stderr]     Checking tokio-retry v0.3.0
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking time v0.3.17
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking serde_nanos v0.1.2
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.3.6
[INFO] [stderr]     Checking nightly-async-nats v0.27.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/object_store.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     use async_nats::jetstream::object_store::ObjectMeta;
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `async_nats`
[INFO] [stdout]   --> tests/nkey_tests.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         use async_nats::ServerAddr;
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `async_nats`
[INFO] [stdout]   --> tests/jwt_tests.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         use async_nats::ServerAddr;
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> examples/json.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let client = async_nats::connect(nats_url).await?;
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     use async_nats::{
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/object_store.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let jetstream = async_nats::jetstream::new(client);
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `async_nats`
[INFO] [stdout]   --> examples/kv.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use async_nats::jetstream;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/object_store.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .create_object_store(async_nats::jetstream::object_store::Config {
[INFO] [stdout]    |                                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]  --> examples/json.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures::stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> examples/json.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | async fn main() -> Result<(), async_nats::Error> {
[INFO] [stdout]    |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/object_store.rs:74:25
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let jetstream = async_nats::jetstream::new(client);
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     use async_nats::{
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nightly-async-nats` (example "json") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/object_store.rs:77:34
[INFO] [stdout]    |
[INFO] [stdout] 77 |             .create_object_store(async_nats::jetstream::object_store::Config {
[INFO] [stdout]    |                                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/jwt_tests.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let nc = async_nats::ConnectOptions::with_credentials_file(
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 +     use nightly_async_nats::ConnectOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 23 -         let nc = async_nats::ConnectOptions::with_credentials_file(
[INFO] [stdout] 23 +         let nc = ConnectOptions::with_credentials_file(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/jwt_tests.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let client = async_nats::ConnectOptions::with_credentials_file(
[INFO] [stdout]    |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 +     use nightly_async_nats::ConnectOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 48 -         let client = async_nats::ConnectOptions::with_credentials_file(
[INFO] [stdout] 48 +         let client = ConnectOptions::with_credentials_file(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/nkey_tests.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into())
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 +     use nightly_async_nats::ConnectOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 23 -         let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into())
[INFO] [stdout] 23 +         let nc = ConnectOptions::with_nkey(SECRET_SEED.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/nkey_tests.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into())
[INFO] [stdout]    |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 +     use nightly_async_nats::ConnectOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 44 -         let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into())
[INFO] [stdout] 44 +         let client = ConnectOptions::with_nkey(SECRET_SEED.into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/jwt_tests.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let s = nats_server::run_server("tests/configs/jwt.conf");
[INFO] [stdout]    |                 ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/nkey_tests.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let s = nats_server::run_server("tests/configs/nkey.conf");
[INFO] [stdout]    |                 ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/jwt_tests.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             nats_server::run_server("tests/configs/jwt.conf"),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/jwt_tests.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             nats_server::run_server("tests/configs/jwt.conf"),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/jwt_tests.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             nats_server::run_server("tests/configs/jwt.conf"),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/nkey_tests.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             nats_server::run_server("tests/configs/nkey.conf"),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/nkey_tests.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             nats_server::run_server("tests/configs/nkey.conf"),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/nkey_tests.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             nats_server::run_server("tests/configs/nkey.conf"),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&T`
[INFO] [stdout]   --> tests/jwt_tests.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 .map(|server| server.client_url().parse::<ServerAddr>().unwrap())
[INFO] [stdout]    |                       ^^^^^^         ---------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 .map(|server: &T| server.client_url().parse::<ServerAddr>().unwrap())
[INFO] [stdout]    |                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&T`
[INFO] [stdout]   --> tests/nkey_tests.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     .map(|server| server.client_url().parse::<ServerAddr>().unwrap())
[INFO] [stdout]    |                           ^^^^^^         ---------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     .map(|server: &T| server.client_url().parse::<ServerAddr>().unwrap())
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:115:25
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let jetstream = async_nats::jetstream::new(client);
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |             .create_object_store(async_nats::jetstream::object_store::Config {
[INFO] [stdout]     |                                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> examples/kv.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |         .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]    |                           ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> examples/kv.rs:108:26
[INFO] [stdout]     |
[INFO] [stdout] 108 |         .create_consumer(async_nats::jetstream::consumer::pull::Config {
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/tls_tests.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into())
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 +     use nightly_async_nats::ConnectOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 24 -         async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into())
[INFO] [stdout] 24 +         ConnectOptions::with_user_and_password("derek".into(), "porkchop".into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/tls_tests.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into())
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 +     use nightly_async_nats::ConnectOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 44 -             async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into())
[INFO] [stdout] 44 +             ConnectOptions::with_user_and_password("derek".into(), "porkchop".into())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/tls_tests.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let client = async_nats::ConnectOptions::new()
[INFO] [stdout]    |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 +     use nightly_async_nats::ConnectOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 60 -         let client = async_nats::ConnectOptions::new()
[INFO] [stdout] 60 +         let client = ConnectOptions::new()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/tls_tests.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let server = nats_server::run_server("tests/configs/tls.conf");
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let jetstream = async_nats::jetstream::new(client);
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:39:31
[INFO] [stdout]    |
[INFO] [stdout] 39 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]    |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:151:34
[INFO] [stdout]     |
[INFO] [stdout] 151 |             .create_object_store(async_nats::jetstream::object_store::Config {
[INFO] [stdout]     |                                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/tls_tests.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         assert!(async_nats::connect(&server.client_url()).await.is_err());
[INFO] [stdout]    |                 ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> examples/kv.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let client = async_nats::connect(nats_url).await?;
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:64:23
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:182:25
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let jetstream = async_nats::jetstream::new(client);
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]    |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:185:34
[INFO] [stdout]     |
[INFO] [stdout] 185 |             .create_object_store(async_nats::jetstream::object_store::Config {
[INFO] [stdout]     |                                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/tls_tests.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let s = nats_server::run_server("tests/configs/tls.conf");
[INFO] [stdout]    |                 ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:96:23
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/kv_tests.rs:99:31
[INFO] [stdout]    |
[INFO] [stdout] 99 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]    |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:230:25
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let jetstream = async_nats::jetstream::new(client);
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:130:23
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:133:31
[INFO] [stdout]     |
[INFO] [stdout] 133 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:233:34
[INFO] [stdout]     |
[INFO] [stdout] 233 |             .create_object_store(async_nats::jetstream::object_store::Config {
[INFO] [stdout]     |                                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:155:28
[INFO] [stdout]     |
[INFO] [stdout] 155 |             .update_stream(async_nats::jetstream::stream::Config {
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nightly-async-nats` (test "tls_tests") due to 7 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:183:23
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:275:25
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let jetstream = async_nats::jetstream::new(client);
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             .create_object_store(async_nats::jetstream::object_store::Config {
[INFO] [stdout]     |                                  ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:186:31
[INFO] [stdout]     |
[INFO] [stdout] 186 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:220:23
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]   --> tests/jwt_tests.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use futures::stream::StreamExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:223:31
[INFO] [stdout]     |
[INFO] [stdout] 223 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:260:23
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/object_store.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/object_store.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let client = async_nats::connect(server.client_url()).await.unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]   --> tests/nkey_tests.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use futures::stream::StreamExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:263:31
[INFO] [stdout]     |
[INFO] [stdout] 263 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:300:23
[INFO] [stdout]     |
[INFO] [stdout] 300 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:303:31
[INFO] [stdout]     |
[INFO] [stdout] 303 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nightly-async-nats` (test "jwt_tests") due to 9 previous errors; 1 warning emitted
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:338:23
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]   --> examples/kv.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use futures::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> examples/kv.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn main() -> Result<(), async_nats::Error> {
[INFO] [stdout]    |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:341:31
[INFO] [stdout]     |
[INFO] [stdout] 341 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nightly-async-nats` (example "kv") due to 6 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `nightly-async-nats` (test "nkey_tests") due to 9 previous errors; 1 warning emitted
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:397:23
[INFO] [stdout]     |
[INFO] [stdout] 397 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:400:31
[INFO] [stdout]     |
[INFO] [stdout] 400 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/object_store.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]   --> tests/object_store.rs:72:22
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let client = async_nats::connect(server.client_url()).await.unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:450:23
[INFO] [stdout]     |
[INFO] [stdout] 450 |         let context = async_nats::jetstream::new(client);
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/object_store.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:113:22
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let client = async_nats::connect(server.client_url()).await.unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:453:31
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:489:31
[INFO] [stdout]     |
[INFO] [stdout] 489 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:515:23
[INFO] [stdout]     |
[INFO] [stdout] 515 |         let context = async_nats::jetstream::new(client.clone());
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/object_store.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let client = async_nats::connect(server.client_url()).await.unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:518:31
[INFO] [stdout]     |
[INFO] [stdout] 518 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/object_store.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let client = async_nats::connect(server.client_url()).await.unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:550:22
[INFO] [stdout]     |
[INFO] [stdout] 550 |         let hub_js = async_nats::jetstream::new(hub);
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/object_store.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:228:22
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let client = async_nats::connect(server.client_url()).await.unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:553:31
[INFO] [stdout]     |
[INFO] [stdout] 553 |             .create_key_value(async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:562:29
[INFO] [stdout]     |
[INFO] [stdout] 562 |         let mirror_bucket = async_nats::jetstream::kv::Config {
[INFO] [stdout]     |                             ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:571:23
[INFO] [stdout]     |
[INFO] [stdout] 571 |         let leaf_js = async_nats::jetstream::new(leaf.clone());
[INFO] [stdout]     |                       ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:591:27
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let leaf_hub_js = async_nats::jetstream::with_domain(leaf, "HUB");
[INFO] [stdout]     |                           ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/object_store.rs:272:22
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/object_store.rs:273:22
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let client = async_nats::connect(server.client_url()).await.unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]   --> tests/object_store.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use tokio::io::AsyncReadExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]   --> tests/object_store.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use futures::StreamExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 29 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/kv_tests.rs:29:22
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nightly-async-nats` (test "object_store") due to 30 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/kv_tests.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]   --> tests/kv_tests.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:123:22
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:176:22
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:212:22
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:252:22
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:293:22
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:331:22
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:390:22
[INFO] [stdout]     |
[INFO] [stdout] 390 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:443:22
[INFO] [stdout]     |
[INFO] [stdout] 443 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:508:22
[INFO] [stdout]     |
[INFO] [stdout] 508 |         let server = nats_server::run_server("tests/configs/jetstream.conf");
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:544:26
[INFO] [stdout]     |
[INFO] [stdout] 544 |         let hub_server = nats_server::run_server("tests/configs/jetstream_hub.conf");
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats_server`
[INFO] [stdout]    --> tests/kv_tests.rs:545:27
[INFO] [stdout]     |
[INFO] [stdout] 545 |         let leaf_server = nats_server::run_server("tests/configs/jetstream_leaf.conf");
[INFO] [stdout]     |                           ^^^^^^^^^^^ use of undeclared crate or module `nats_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:547:19
[INFO] [stdout]     |
[INFO] [stdout] 547 |         let hub = async_nats::connect(hub_server.client_url()).await.unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_nats`
[INFO] [stdout]    --> tests/kv_tests.rs:548:20
[INFO] [stdout]     |
[INFO] [stdout] 548 |         let leaf = async_nats::connect(leaf_server.client_url()).await.unwrap();
[INFO] [stdout]     |                    ^^^^^^^^^^ use of undeclared crate or module `async_nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]   --> tests/kv_tests.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use futures::StreamExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 49 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nightly-async-nats` (test "kv_tests") due to 50 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f917c72c2a0a51e3a432f8b71fa609120c6a0580c2501a63876e06c5bf62c025", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f917c72c2a0a51e3a432f8b71fa609120c6a0580c2501a63876e06c5bf62c025", kill_on_drop: false }`
[INFO] [stdout] f917c72c2a0a51e3a432f8b71fa609120c6a0580c2501a63876e06c5bf62c025
